﻿using shenghua.Commodity.Commodities.Dto;
using shenghua.Common.Dto;
using shenghua.Member.ShoppingCart.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Member.ShoppingCart
{
    public interface IShoppingCartAppService
    {
        Task<ShoppingCartCommodityDto> AddCommodityToShoppingCart(AddCommodityToShoppingCartDto input);
        Task<List<ShoppingCartCommodityDto>> GetAll();
        Task Clear();
        Task RemoveCommodityFromShoppingCart(DeleteDto input);
    }
}
